projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f27a1b
)
* configure.ac: Fix CC detection for xcrun case.
author
Jan Djärv
<jan.h.d@swipnet.se>
Sat, 28 Dec 2013 10:37:53 +0000
(11:37 +0100)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Sat, 28 Dec 2013 10:37:53 +0000
(11:37 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 5dafb51a5cfdbc069fdf343c0dc34ea4358fb887..cf4ca9814e6c657e480374c95a4eb21439fd8367 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-654,15
+654,12
@@
fi
#### Choose a compiler.
dnl Sets GCC=yes if using gcc.
+AC_PROG_CC([gcc cc cl clang "$XCRUN gcc" "$XCRUN clang"])
if test -n "$XCRUN"; then
- if test -z "$CC"; then
- AC_PROG_CC([gcc cc cl clang "$XCRUN gcc" "$XCRUN clang"])
- fi
AC_CHECK_PROGS(AR, [ar "$XCRUN ar"])
test -n "$AR" && export AR
-else
- AC_PROG_CC
fi
+
AM_PROG_CC_C_O
if test x$GCC = xyes; then